.class final LVitxI/jtHon/ZKMaR/oLzao;
.super Ljava/lang/Object;


# static fields
.field private static final IypTd:I = 0x4000

.field private static final TUzZE:I = 0x1000


# instance fields
.field ERbJL:I

.field LMvgU:I

.field OOgKh:I

.field private RUJdV:I

.field YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

.field gYaqG:I

.field qjNGk:I

.field private final svSkS:LAEisT/OyUcY;

.field private tYvLa:Z


# direct methods
.method constructor <init>(ILAEisT/OyUcY;)V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const v0, 0x7fffffff

    iput v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->RUJdV:I

    const/16 v0, 0x8

    new-array v0, v0, [LVitxI/jtHon/ZKMaR/NzpHb;

    iput-object v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    array-length v0, v0

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->qjNGk:I

    iput v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->gYaqG:I

    iput v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->OOgKh:I

    iput p1, p0, LVitxI/jtHon/ZKMaR/oLzao;->ERbJL:I

    iput p1, p0, LVitxI/jtHon/ZKMaR/oLzao;->LMvgU:I

    iput-object p2, p0, LVitxI/jtHon/ZKMaR/oLzao;->svSkS:LAEisT/OyUcY;

    return-void
.end method

.method constructor <init>(LAEisT/OyUcY;)V
    .locals 1

    const/16 v0, 0x1000

    invoke-direct {p0, v0, p1}, LVitxI/jtHon/ZKMaR/oLzao;-><init>(ILAEisT/OyUcY;)V

    return-void
.end method

.method private ELBit()V
    .locals 3

    const/4 v2, 0x0

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Ljava/util/Arrays;->fill([Ljava/lang/Object;Ljava/lang/Object;)V

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    array-length v0, v0

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->qjNGk:I

    iput v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->gYaqG:I

    iput v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->OOgKh:I

    return-void
.end method

.method private GdVCD(I)I
    .locals 6

    const/4 v1, 0x0

    if-lez p1, :cond_1

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    array-length v0, v0

    add-int/lit8 v0, v0, -0x1

    :goto_0
    iget v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->qjNGk:I

    if-lt v0, v2, :cond_0

    if-lez p1, :cond_0

    iget-object v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    aget-object v2, v2, v0

    iget v2, v2, LVitxI/jtHon/ZKMaR/NzpHb;->fPBRH:I

    sub-int/2addr p1, v2

    iget v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->OOgKh:I

    iget-object v3, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    aget-object v3, v3, v0

    iget v3, v3, LVitxI/jtHon/ZKMaR/NzpHb;->fPBRH:I

    sub-int/2addr v2, v3

    iput v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->OOgKh:I

    iget v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->gYaqG:I

    add-int/lit8 v2, v2, -0x1

    iput v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->gYaqG:I

    add-int/lit8 v1, v1, 0x1

    add-int/lit8 v0, v0, -0x1

    goto :goto_0

    :cond_0
    iget-object v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    iget v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->qjNGk:I

    add-int/lit8 v2, v2, 0x1

    iget-object v3, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    iget v4, p0, LVitxI/jtHon/ZKMaR/oLzao;->qjNGk:I

    add-int/lit8 v4, v4, 0x1

    add-int/2addr v4, v1

    iget v5, p0, LVitxI/jtHon/ZKMaR/oLzao;->gYaqG:I

    invoke-static {v0, v2, v3, v4, v5}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    iget v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->qjNGk:I

    add-int/lit8 v2, v2, 0x1

    iget v3, p0, LVitxI/jtHon/ZKMaR/oLzao;->qjNGk:I

    add-int/lit8 v3, v3, 0x1

    add-int/2addr v3, v1

    const/4 v4, 0x0

    invoke-static {v0, v2, v3, v4}, Ljava/util/Arrays;->fill([Ljava/lang/Object;IILjava/lang/Object;)V

    iget v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->qjNGk:I

    add-int/2addr v0, v1

    iput v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->qjNGk:I

    :cond_1
    return v1
.end method

.method private TYKjq()V
    .locals 2

    iget v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->LMvgU:I

    iget v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->OOgKh:I

    if-ge v0, v1, :cond_0

    iget v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->LMvgU:I

    if-nez v0, :cond_1

    invoke-direct {p0}, LVitxI/jtHon/ZKMaR/oLzao;->ELBit()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->OOgKh:I

    iget v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->LMvgU:I

    sub-int/2addr v0, v1

    invoke-direct {p0, v0}, LVitxI/jtHon/ZKMaR/oLzao;->GdVCD(I)I

    goto :goto_0
.end method

.method private zzrMf(LVitxI/jtHon/ZKMaR/NzpHb;)V
    .locals 6

    iget v0, p1, LVitxI/jtHon/ZKMaR/NzpHb;->fPBRH:I

    iget v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->LMvgU:I

    if-le v0, v1, :cond_0

    invoke-direct {p0}, LVitxI/jtHon/ZKMaR/oLzao;->ELBit()V

    :goto_0
    return-void

    :cond_0
    iget v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->OOgKh:I

    add-int/2addr v1, v0

    iget v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->LMvgU:I

    sub-int/2addr v1, v2

    invoke-direct {p0, v1}, LVitxI/jtHon/ZKMaR/oLzao;->GdVCD(I)I

    iget v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->gYaqG:I

    add-int/lit8 v1, v1, 0x1

    iget-object v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    array-length v2, v2

    if-le v1, v2, :cond_1

    iget-object v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    array-length v1, v1

    mul-int/lit8 v1, v1, 0x2

    new-array v1, v1, [LVitxI/jtHon/ZKMaR/NzpHb;

    iget-object v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    const/4 v3, 0x0

    iget-object v4, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    array-length v4, v4

    iget-object v5, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    array-length v5, v5

    invoke-static {v2, v3, v1, v4, v5}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    iget-object v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    array-length v2, v2

    add-int/lit8 v2, v2, -0x1

    iput v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->qjNGk:I

    iput-object v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    :cond_1
    iget v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->qjNGk:I

    add-int/lit8 v2, v1, -0x1

    iput v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->qjNGk:I

    iget-object v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    aput-object p1, v2, v1

    iget v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->gYaqG:I

    add-int/lit8 v1, v1, 0x1

    iput v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->gYaqG:I

    iget v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->OOgKh:I

    add-int/2addr v0, v1

    iput v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->OOgKh:I

    goto :goto_0
.end method


# virtual methods
.method QvsGc(Ljava/util/List;)V
    .locals 8

    const/16 v4, 0x20

    const/16 v2, 0x1f

    const/4 v3, 0x0

    iget-boolean v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->tYvLa:Z

    if-eqz v0, :cond_1

    iget v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->RUJdV:I

    iget v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->LMvgU:I

    if-ge v0, v1, :cond_0

    iget v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->RUJdV:I

    invoke-virtual {p0, v0, v2, v4}, LVitxI/jtHon/ZKMaR/oLzao;->xPmUa(III)V

    :cond_0
    iput-boolean v3, p0, LVitxI/jtHon/ZKMaR/oLzao;->tYvLa:Z

    const v0, 0x7fffffff

    iput v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->RUJdV:I

    iget v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->LMvgU:I

    invoke-virtual {p0, v0, v2, v4}, LVitxI/jtHon/ZKMaR/oLzao;->xPmUa(III)V

    :cond_1
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v4

    move v2, v3

    :goto_0
    if-ge v2, v4, :cond_4

    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, LVitxI/jtHon/ZKMaR/NzpHb;

    iget-object v1, v0, LVitxI/jtHon/ZKMaR/NzpHb;->agQNJ:LAEisT/UsQXN;

    invoke-virtual {v1}, LAEisT/UsQXN;->sCrEm()LAEisT/UsQXN;

    move-result-object v5

    iget-object v6, v0, LVitxI/jtHon/ZKMaR/NzpHb;->HhrKE:LAEisT/UsQXN;

    invoke-static {}, LVitxI/jtHon/ZKMaR/BBatN;->kpmSW()Ljava/util/Map;

    move-result-object v1

    invoke-interface {v1, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/Integer;

    if-eqz v1, :cond_2

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    const/16 v1, 0xf

    invoke-virtual {p0, v0, v1, v3}, LVitxI/jtHon/ZKMaR/oLzao;->xPmUa(III)V

    invoke-virtual {p0, v6}, LVitxI/jtHon/ZKMaR/oLzao;->iXyVf(LAEisT/UsQXN;)V

    :goto_1
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_0

    :cond_2
    iget-object v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->YIZEK:[LVitxI/jtHon/ZKMaR/NzpHb;

    invoke-static {v1, v0}, LVitxI/jtHon/AthHa;->FXiud([Ljava/lang/Object;Ljava/lang/Object;)I

    move-result v1

    const/4 v7, -0x1

    if-eq v1, v7, :cond_3

    iget v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->qjNGk:I

    sub-int v0, v1, v0

    invoke-static {}, LVitxI/jtHon/ZKMaR/BBatN;->UnOfR()[LVitxI/jtHon/ZKMaR/NzpHb;

    move-result-object v1

    array-length v1, v1

    add-int/2addr v0, v1

    const/16 v1, 0x7f

    const/16 v5, 0x80

    invoke-virtual {p0, v0, v1, v5}, LVitxI/jtHon/ZKMaR/oLzao;->xPmUa(III)V

    goto :goto_1

    :cond_3
    iget-object v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->svSkS:LAEisT/OyUcY;

    const/16 v7, 0x40

    invoke-virtual {v1, v7}, LAEisT/OyUcY;->AdtXb(I)LAEisT/OyUcY;

    invoke-virtual {p0, v5}, LVitxI/jtHon/ZKMaR/oLzao;->iXyVf(LAEisT/UsQXN;)V

    invoke-virtual {p0, v6}, LVitxI/jtHon/ZKMaR/oLzao;->iXyVf(LAEisT/UsQXN;)V

    invoke-direct {p0, v0}, LVitxI/jtHon/ZKMaR/oLzao;->zzrMf(LVitxI/jtHon/ZKMaR/NzpHb;)V

    goto :goto_1

    :cond_4
    return-void
.end method

.method iXyVf(LAEisT/UsQXN;)V
    .locals 3

    invoke-virtual {p1}, LAEisT/UsQXN;->ZCWHA()I

    move-result v0

    const/16 v1, 0x7f

    const/4 v2, 0x0

    invoke-virtual {p0, v0, v1, v2}, LVitxI/jtHon/ZKMaR/oLzao;->xPmUa(III)V

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->svSkS:LAEisT/OyUcY;

    invoke-virtual {v0, p1}, LAEisT/OyUcY;->LWZTa(LAEisT/UsQXN;)LAEisT/OyUcY;

    return-void
.end method

.method myJKn(I)V
    .locals 2

    iput p1, p0, LVitxI/jtHon/ZKMaR/oLzao;->ERbJL:I

    const/16 v0, 0x4000

    invoke-static {p1, v0}, Ljava/lang/Math;->min(II)I

    move-result v0

    iget v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->LMvgU:I

    if-ne v1, v0, :cond_0

    :goto_0
    return-void

    :cond_0
    iget v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->LMvgU:I

    if-ge v0, v1, :cond_1

    iget v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->RUJdV:I

    invoke-static {v1, v0}, Ljava/lang/Math;->min(II)I

    move-result v1

    iput v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->RUJdV:I

    :cond_1
    const/4 v1, 0x1

    iput-boolean v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->tYvLa:Z

    iput v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->LMvgU:I

    invoke-direct {p0}, LVitxI/jtHon/ZKMaR/oLzao;->TYKjq()V

    goto :goto_0
.end method

.method xPmUa(III)V
    .locals 3

    if-ge p1, p2, :cond_0

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->svSkS:LAEisT/OyUcY;

    or-int v1, p3, p1

    invoke-virtual {v0, v1}, LAEisT/OyUcY;->AdtXb(I)LAEisT/OyUcY;

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, LVitxI/jtHon/ZKMaR/oLzao;->svSkS:LAEisT/OyUcY;

    or-int v1, p3, p2

    invoke-virtual {v0, v1}, LAEisT/OyUcY;->AdtXb(I)LAEisT/OyUcY;

    sub-int v0, p1, p2

    :goto_1
    const/16 v1, 0x80

    if-lt v0, v1, :cond_1

    and-int/lit8 v1, v0, 0x7f

    iget-object v2, p0, LVitxI/jtHon/ZKMaR/oLzao;->svSkS:LAEisT/OyUcY;

    or-int/lit16 v1, v1, 0x80

    invoke-virtual {v2, v1}, LAEisT/OyUcY;->AdtXb(I)LAEisT/OyUcY;

    ushr-int/lit8 v0, v0, 0x7

    goto :goto_1

    :cond_1
    iget-object v1, p0, LVitxI/jtHon/ZKMaR/oLzao;->svSkS:LAEisT/OyUcY;

    invoke-virtual {v1, v0}, LAEisT/OyUcY;->AdtXb(I)LAEisT/OyUcY;

    goto :goto_0
.end method
